{% extends "base_generic.html" %}

{% block content %}
    <h1>Author List</h1>
    <ul>
    {% for author in author_list %}
        <li><a href="{% url 'author-detail' author.pk %}">{{ author.last_name }}, {{ author.first_name }} ({{ author.date_of_birth }} - {{ author.date_of_death }})</a></li>
    {% endfor %}
    </ul>
{% endblock %}